package cn.edu.gdgm.system.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户设备药仓信息
 * </p>
 *
 * @author running_hyk
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Slot对象", description="用户设备药仓信息")
public class Slot implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药仓记录 Id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "药仓记录 Id")
    private String id;

    /**
     * 设备UUID唯一识别号
     */
    @ApiModelProperty(value = "设备UUID唯一识别号", required = true)
    private String deviceUuid;

    /**
     * 药仓号码
     */
    @ApiModelProperty(value = "药仓号码", required = true)
    private Integer slotId;

    /**
     * 服用方式
     */
    @ApiModelProperty(value = "服用方式")
    private String method;

    /**
     * 每次服用剂量
     */
    @ApiModelProperty(value = "每次服用剂量")
    private String dose;

    /**
     * 国药准字
     */
    @ApiModelProperty(value = "国药准字 （条形码）", required = true)
    private String certificateCode;

    /**
     * 药品名称
     */
    @ApiModelProperty(value = "药品名称")
    private String medicinalName;


}
